function ExecuteServerMethod(idButton)
{
    var currentElement;
    var currentForm = document.forms[0];

    currentElement = document.createElement("input");
    currentElement.setAttribute("type", "hidden");
    currentElement.setAttribute("id", "hdIdButton");
    currentElement.setAttribute("name", "hdIdButton");
    currentElement.setAttribute("value", idButton);
    currentForm.appendChild(currentElement);

    currentForm.submit();
}
